package overriding;

public class Dog extends Animal {

	@Override
	public void eat() {
		super.eat();
		System.out.println("Dog can eat");
	}

	public void run() {
		System.out.println("Only dog can run");
	}

}
